Font File Format


The "Font File" sets up a "Font" in the game by loading art to represent letters, numbers, and symbols, and specifying how the art is drawn when it is used to write text to the screen

Format Description


Example Font File

;;;;;;;;;;;;;;;;;;;;;
; Example Font File ;
;;;;;;;;;;;;;;;;;;;;;

Font Art Filename: font.pcx

Font Type: 4      ;Numbers Only (32, 48 -  57)

;Char 0x20 (SPACE)-
    XOFF in file: 088
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008

;Char 0x30 ('0')-
    XOFF in file: 072
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x31 ('1')-
    XOFF in file: 064
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x32 ('2')-
    XOFF in file: 056
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x33 ('3')-
    XOFF in file: 048
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x34 ('4')-
    XOFF in file: 040
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x35 ('5')-
    XOFF in file: 032
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x36 ('6')-
    XOFF in file: 024
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x37 ('7')-
    XOFF in file: 016
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x38 ('8')-
    XOFF in file: 008
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008
;Char 0x39 ('9')-
    XOFF in file: 000
    YOFF in file: 087
           Width: 008
          Height: 007
 YOFF from DrawY:-008

-EOF-



Ascii Character Table